<?php

class Knihovna_Form_Date extends Zend_Form
{

    public function init()
    {
        /*$input = new Zend_Form_Element_Text('date',
            array('label'    => 'Datum'));*/
        $input = new ZendX_JQuery_Form_Element_DatePicker('datum1', array('jQueryParams'=> array('defaultDate'=> date('Y-m-d'),
                                                                                                 'dateFormat' => 'yy-mm-dd')));
        $this->addElements(array($input));
    }


}

